package cn.jsony.org.service;

import cn.jsony.basic.service.IBaseService;
import cn.jsony.org.domain.Department;
import cn.jsony.org.domain.Shop;
import cn.jsony.org.domain.ShopAuditLog;
import cn.jsony.org.domain.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：部门
 */
public interface IShopService extends IBaseService<Shop> {


    void settlement(Shop shop) throws MessagingException;

    void auditPass(ShopAuditLog shopAuditLog) throws MessagingException;

    void auditReject(ShopAuditLog shopAuditLog) throws MessagingException;


    List<ShopDto> getCountByState();

    void emailPass(Long id);
}
